package JAVASE514;

import java.util.Scanner;

public class JAVALoop {
    public static void main(String[] argc) {
        Scanner sc=new Scanner(System.in);
        int x= sc.nextInt();
        for (int i = 1; i < x; i++) {
            if(i*i==x){
                System.out.println(x+"的平方根是"+i);
                break;
            }else if(i*i>x){
                System.out.println(x+"的平方根的整数部分是"+(i-1));
                break;
            }
        }
    }
}
